package com.lagou.springbootblog.service;

import com.lagou.springbootblog.bean.PageParam;
import com.lagou.springbootblog.domain.Article;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ArticleService {
    List<Article> findAll();

    Page<Article> getArticlesPage(PageParam pageParam, String nickName);
}
